﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.UnityExtensions;

using Microsoft.Practices.Unity;
using Microsoft.Practices.Prism.Regions;

using Ending.View;

namespace Ending
{
    public class EndingModule : IModule
    {

        private readonly IUnityContainer container;
        private readonly IRegionManager rManager;

        public EndingModule(IUnityContainer c, IRegionManager r)
        {
            container = c;
            rManager = r;
        }

        public void Initialize()
        {
            container.RegisterType<object, EndingView>("EndingView");
            container.RegisterType<object, EndingView2>("EndingView2");
            container.RegisterType<object, EndingView3>("EndingView3");
            container.RegisterType<object, EndingView4>("EndingView4");
        }
    }
}
